package cn.liujianbo.example.pattern.decorator;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author 刘建波
 * @date 2022-03-04 13:41
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public abstract class FastFood {
    private String name;
    private BigDecimal price;

    public abstract BigDecimal cost();
}
